﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="KeyUnitList.aspx.cs" Inherits="Default2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="stlye.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
       
        .style1
        {
            width: 24px;
        }
        .style2
        {
        }
        .style3
        {
            width: 23px;
        }
        .style4
        {
            width: 100%;
        }
        .style5
        {
            width: 60px;
        }
       
        .style6
        {
        }
        .style7
        {
            width: 40px;
        }
       
        .style9
        {
            width: 9px;
        }
        .style10
        {
            width: 73px;
        }
       
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table class="style1">
            <tr>
                <td>
                    &nbsp;</td>
                <td class="style10" >
                    &nbsp;</td>
                <td  colspan="11">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="2" >
                    <asp:Label ID="lblZD" runat="server" Text="支队"></asp:Label>
                </td>
                <td  colspan="4">
                    <asp:DropDownList runat="server" Height="25px" Width="218px" ID="ddlZD" 
                        Style="margin-bottom: 1px; margin-left: 0px;" AutoPostBack="True" 
                        onselectedindexchanged="ddlZD_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
                <td colspan="2" >
                    <asp:Label ID="lblDD" runat="server" Text="大队"></asp:Label>
                </td>
                <td colspan="4" >
                    <asp:DropDownList runat="server" Height="25px" Width="391px" ID="ddlDD" 
                        Style="margin-bottom: 1px">
                    </asp:DropDownList>
                </td>
                <td >
                </td>
                <td >
                    </td>
                <td >
                    </td>
                <td>
                    </td>
                <td >
                    </td>
                <td >
                    </td>
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;</td>
                <td colspan="11">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="2">
                    单位类型</td>
                <td>
                    <asp:DropDownList runat="server" Height="25px" Width="82px" ID="ddlUnitType" 
                        Style="margin-bottom: 1px">
                    </asp:DropDownList>
                </td>
                <td class="style3">
                    &nbsp;</td>
                <td colspan="14">
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;</td>
                <td colspan="3" >
                    &nbsp;</td>
                <td  colspan="2">
                    &nbsp;</td>
                <td class="style7" >
                    &nbsp;</td>
                <td >
                    &nbsp;</td>
                <td >
                    &nbsp;</td>
                <td >
                    &nbsp;</td>
                <td align="right" >
                    <asp:Button ID="btnSearch" runat="server" Text="查询" onclick="btnSearch_Click" />
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td  colspan="12">
                    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" Caption="<span>重点单位列表</span>"
                        AutoGenerateColumns="False" CellPadding="4" DataKeyNames="PerformanceID" 
                        ForeColor="#333333" GridLines="Vertical" Height="20px" 
                        OnPageIndexChanging="GridView1_PageIndexChanging" 
                        OnRowCommand="GridView1_RowCommand" OnRowDataBound="GridView1_RowDataBound" 
                        OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" 
                        PageSize="20" Width="740px" 
                        onselectedindexchanged="GridView1_SelectedIndexChanged">
                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <Columns>
                            <asp:BoundField DataField="PerformanceID" HeaderText="PerformanceID" 
                                Visible="False">
                            <ItemStyle HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="KeyUnitName" HeaderText="单位名称">
                            <ItemStyle HorizontalAlign="Center" Wrap="False" Width="400px" />
                            <HeaderStyle HorizontalAlign="Center" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="PerformanceState" HeaderText="是否完成">
                            <ItemStyle HorizontalAlign="Center" Width="100px" />
                            <HeaderStyle HorizontalAlign="Center" Wrap="False" />
                            </asp:BoundField>
                            <asp:CommandField HeaderText="查看" SelectText="详细" ShowSelectButton="True">
                            <ItemStyle ForeColor="Green" HorizontalAlign="Center" Width="80px" 
                                Wrap="False" />
                            <HeaderStyle HorizontalAlign="Center" Wrap="False" />
                            </asp:CommandField>
                            <asp:CommandField EditText="修改" HeaderText="编辑" ShowEditButton="True">
                            <ItemStyle ForeColor="Blue" HorizontalAlign="Center" Wrap="False" 
                                Width="80px" />
                            <HeaderStyle HorizontalAlign="Center" Wrap="False" />
                            </asp:CommandField>
                            <asp:CommandField HeaderText="删除" ShowDeleteButton="True" DeleteText="删除">
                            <ItemStyle ForeColor="Red" HorizontalAlign="Center" Wrap="False" Width="80px" />
                            <HeaderStyle HorizontalAlign="Center" Wrap="False" />
                            </asp:CommandField>
                        </Columns>
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <EditRowStyle BackColor="#999999" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#59B8EC" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#59B8EC" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    </asp:GridView>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td class="style10">
                    &nbsp;</td>
                <td colspan="13">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td class="style2" colspan="12" >
                    重点单位类型对照表</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td class="style6" colspan="12" >
                    <asp:DataList ID="DataList1" runat="server">
                        <ItemTemplate>
                            <table class="style4">
                                <tr>
                                    <td class="style5">
                                        <%# Eval("KeyUnitTypeDescript")%>
                                        </td>
                                    <td class="style9">
                                       
                                       </td>
                                    <td>
                                        <%# Eval("KeyUnitTypeName")%></td>
                                </tr>
                            </table>
                        </ItemTemplate>
                    </asp:DataList>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td class="style10" >
                    &nbsp;</td>
                <td  colspan="11">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
